package com.sc.es.dto;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * @author sc
 * Created on  2018/2/7
 */
@Data
public class HouseDto implements Serializable {
    private static final long serialVersionUID = 8918735582286008182L;
    private Integer id;
    private String title;
    private Integer price;
    private Integer area;
    private Integer direction;
    private Integer room;
    private Integer parlour;
    private Integer bathroom;
    private Integer floor;
    @JsonProperty("adminId")
    private Integer adminId;
    private String district;
    @JsonProperty("totalFloor")
    private Integer totalFloor;
    @JsonProperty("watchTimes")
    private Integer watchTimes;
    @JsonProperty("buildYear")
    private Integer buildYear;
    private Integer status;
    @JsonProperty("createTime")
    private Date createTime;
    @JsonProperty("lastUpdateTime")
    private Date lastUpdateTime;
    @JsonProperty("cityEnName")
    private String cityEnName;
    @JsonProperty("regionEnName")
    private String regionEnName;
    private String street;
    private String cover;
    @JsonProperty("distanceToSubway")
    private Integer distanceToSubway;
    @JsonProperty("houseDetail")
    private HouseDetailDto houseDetail;
    private List<String> tags;
    private List<HousePictureDto> pictures;
    @JsonProperty("subscribeStatus")
    private Integer subscribeStatus;


}

